package com.example.exceldemo.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ExcelTarget("product")
public class Product {
    @Excel(name = "商品列表-商品名称" )
    private String productName;
    @Excel(name = "商品列表-商品价格",type = 10)
    private double productPrice;
}
